package com.lagou.ipersistence.transaction.managed;

import com.lagou.ipersistence.transaction.Transaction;

import java.sql.Connection;
import java.sql.SQLException;

/**
 * @author Yan Jiahong
 * Created on 2020/11/22
 */
public class ManagedTransaction implements Transaction {
    @Override
    public Connection getConnection() throws SQLException {
        return null;
    }
    
    @Override
    public void commit() throws SQLException {
    
    }
    
    @Override
    public void rollback() throws SQLException {
    
    }
    
    @Override
    public void close() throws SQLException {
    
    }
    
    @Override
    public Integer getTimeout() throws SQLException {
        return null;
    }
}
